import re

def displaymatch(match):
    if match is None:
        return None
    return '<Match: %r, groups = %r>' % (match.group(),match.groups())

m = re.match(r"(\w+)(\d+)","songyy123lualal123");
print displaymatch(m);
